package com.cuput.partybuilding.publiclibrary;

import android.content.Context;

import com.bigkoo.svprogresshud.SVProgressHUD;

import java.util.ArrayList;

/**
 * Created by wei on 2017-05-08.
 */

public final class TempApplication {
    private TempApplication() {}

    private static Context mContext;

//    private static TempApplication tempApplication;
//    public static synchronized TempApplication newInstance() {
//        if (tempApplication == null) {
//            tempApplication = new TempApplication();
//        }
//        return tempApplication;
//    }

    public static Context getContext() {
        return mContext;
    }

    public static void init(Context context) {
        mContext = context;
    }

    private static ArrayList<SVProgressHUD> svProgressHUDs = new ArrayList<>() ;
    public static ArrayList<SVProgressHUD> getSvProgressHUDs() { return  svProgressHUDs; }
}
